﻿@{

    ViewBag.Title = "区本级采购公告列表";
    Layout = Url.Content("~/Views/Shared/_Layout.cshtml");
}
<div id="PAGE_MODEL">
    <!--查询按钮-->
    <div class="row">
        <div class="col-md-12">
            <form class="form-group form-inline" v-on:submit.prevent="getGXListindex()">
                <label>
                    关键字：
                    <input type="text" class="form-control" placeholder="查询关键字"
                           v-model="clsCommonParameter.keyword">
                </label>
                <button type="submit" class="btn btn-default">
                    <i class="glyphicon glyphicon-search"></i> 查询
                </button>
            </form>
        </div>
    </div>


    <!--表单-->
    <el-table :data="VmFlfgs"
              fit border stripe
              :header-cell-class-name="'text-primary'">
        <el-table-column label="#" fixed
                         width="40">
            <template slot-scope="scope">
                {{scope.$index+clsCommonParameter.pageindex*clsCommonParameter.pagesize+1}}
            </template>
        </el-table-column>
        <el-table-column prop="Title" fixed
                         width="300"
                         label="标题">
        </el-table-column>
        <el-table-column prop="Time_str" fixed
                         width="200"
                         label="时间">
        </el-table-column>
        <el-table-column label="操作"
                         width="160">
            <template slot-scope="scope">
                <a :href="scope.row.Url"
                   target="_blank">详情</a>
            </template>
        </el-table-column>
    </el-table>

    <!--分页-->
    <div class="row">
        <div class="col-md-12">
            <span class="demonstration"></span>
            <el-pagination @@size-change="handleSizeChange"
                           @@current-change="handleCurrentChange"
                           :current-page.sync="currentpage"
                           :page-sizes="pagesizes"
                           :page-size="clsCommonParameter.pagesize"
                           layout=" prev, pager, next, jumper,total, sizes"
                           :total="total">
            </el-pagination>
        </div>
    </div>
</div>
@section Script{

    <script src='@Url.Content("~/Scripts/jquery.form.js")' type="text/javascript"></script>
    <script src='@Url.Content("~/Scripts/Gxykdx/Gxykdx.js")' type="text/javascript"></script>

    <script type="text/javascript">
        //链接地址定义
        var URLs = {
            URL_QBJ_CG_LIST: '@Url.Action("GetGxList", "Index")'    //获取区本级采购公告列表

        };
    </script>
}
